<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>chenqiuheng</title>
	<script src="<c:url value="/ui/jquery/1.12.4/jquery.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/ui/bootstrap/3.3.0/js/bootstrap.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/ui/jquery/jqueryBanner/js/banner.js"/>"></script>
	<link rel="stylesheet" href="<c:url value="/ui/bootstrap/3.3.0/css/bootstrap.min.css"/>" type="text/css"/>
	<link rel="stylesheet" href="<c:url value="/ui/jquery/content scroller/jquery.mCustomScrollbar.css"/>" type="text/css"/>
	<link rel="stylesheet" href="<c:url value="/ui/css/sign/sign.css"/>" type="text/css"/>
</head>
<body>
<div class="container warp">
		<div class="panel panel-primary">
			<div class="panel-heading">
				<h3>Cone用户注册</h3>	
			</div>
  			<div class="panel-body">
			    <div class="row">
		  <div class="col-md-10 col-md-offset-1 col-sm-8 col-sm-offset-2 col-xs-8 col-xs-offset-2 sign_content">
		  	<form role="form" action="sign_input" method="post" enctype="multipart/form-data">	
			  <div class="form-group">
			    <label for="exampleInputUsername">Username</label>
			     <div class="input-group">
			     	<div class="input-group-addon"><i class="glyphicon glyphicon-user"></i></div>
			    	<input type="text" class="form-control" name="username" id="exampleInputUsername" placeholder="Enter Username" value="${user_infos.username}">
			     </div>
			  </div>
			  <div class="form-group">
			    <label for="fileField">用户头像</label>
			     <div class="input-group">		     
			     	<div class="input-group-addon"><i class="glyphicon glyphicon-camera"></i></div>
			    	<input type="text" class="form-control" id="textfield" placeholder="Enter Username" name='textfield' value="${user_infos.textfield}">
			     	<span class="input-group-btn">
        				<input type="file" name="fileField" class="file btn btn-default" id="fileField" onchange="document.getElementById('textfield').value=this.value" />
      			 	</span>
			     </div>
			  </div>
			  <div class="form-group">
			  	<label>选择性别</label>
			  	<div class="input-group">
				  <span class="input-group-addon"><i class="glyphicon glyphicon-retweet"></i></span>
				 	<div class="dropdown">
					 	<select name="gender" class="form-control" style="width:100%;"> 
					 		<option value='1' <c:if test="${user_infos.gender==true}">selected</c:if>>男</option>
					 		<option value='0' <c:if test="${user_infos.gender==false}">selected</c:if>>女</option>
					  	</select>
				 	</div>
				</div>
			  </div>
			  <div class="form-group">
			    <label for="exampleInputPassword">密码</label>
			    <div class="input-group">
			     	<div class="input-group-addon"><i class="glyphicon glyphicon-wrench"></i></div>
			   		 <input type="password" class="form-control"  name="password" id="exampleInputPassword" placeholder="Enter Password" value="${user_infos.password}">
			   	</div>
			  </div>
			  <div class="form-group">
			    <label for="exampleInputPasswordCheck">密码确认</label>
			       <div class="input-group">
				     	<div class="input-group-addon"><i class="glyphicon glyphicon-eye-close"></i></div>
				    	<input type="password" class="form-control" name="passwordCheck" id="exampleInputPasswordCheck" placeholder="Enter Password Again" value="${user_infos.passwordCheck}">
			  	   </div>
			   </div>
			  <div class="form-group">
				  <label for="exampleInputEmail">Email地址</label>
					  <div class="input-group">
						  <div class="input-group-addon">@</div>
			    		  <input type="email" class="form-control" name="email" id="exampleInputEmail1" placeholder="Enter email" value="${user_infos.email}">
		    		  </div>
				      <p class="help-block">use for find password when you forget</p>
			  </div>
		  </div>
		</div>
			</div>
  			<div class="panel-footer">
				<button type="submit" class="btn btn-default">Submit</button>
			 	<a class="btn btn-info pull-right" href="main">Back</a>
			</div>
			</form>
		</div>

		
</div>
</body>
<script>
(function($){	
	
	
})(jQuery);
	
</script>
</html>

